package com.omdes.domains.account.entity;

import com.omdes.domains.base.BaseEntity;

/**
 * Created with IntelliJ IDEA.
 * User: solitary.wang
 * Date: 2017/6/9
 * Time: 11:42
 */
public final class Account {
    private static final long serialVersionUID = -368044522431426956L;

    private int age;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder();
        sb.append("Account").
                append("{").
                append("id=").append(this.getId()).
                append(", name='").append(this.getName()).append('\'').
                append(", age=").append(age).
                append('}');
        return sb.toString();
    }
}
